package com.stx.test;

/**
 * packageName com.stx.test
 *
 * @author YangYi
 * @className Person
 * @date 2025/9/10
 * @description TODO
 */
public class Person {
    String name;
    int age;
    double weight;
    double height;

    public void eat(){
        System.out.println("喜欢吃泡面");
    }
    public void playGame(){
        System.out.println("喜欢打王者荣耀");
    }
    public void introduce(){
        System.out.println("我叫"+name+",今年"+age+"岁，身高"+height+",体重"+weight);
    }
}
